//
//  ShipindianjiViewController.m
//  A_HandHeldLOL
//
//  Created by Zhao YanBin on 16/1/23.
//  Copyright © 2016年 zhaoyanbin. All rights reserved.
//

#import "ShipindianjiViewController.h"
#import "AFNModel.h"
#import "ShiPinModel.h"
@interface ShipindianjiViewController ()
@property(nonatomic, retain)NSMutableArray *shipinArr;
@end

@implementation ShipindianjiViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    //    //webView  铺设
    //    UIWebView *wv = [[UIWebView alloc] initWithFrame:self.view.bounds];
    ////    wv.backgroundColor = [UIColor magentaColor];
    //    [self.view addSubview:wv];
    //    NSString *url = @"http://lol.qq.com/m/act/a20150319lolapp/video.htm?APP_BROWSER_VERSION_CODE=1&ios_version=801";
    //    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
//    [AFNModel GETWithURL:_wangzhi completion:^(id result) {
//        NSArray *arr = result[@"data"];
//        self.shipinArr = [ShiPinModel modelHanderWithArray:arr];
//        
//    }];
    UIWebView *wv = [[UIWebView alloc] initWithFrame:self.view.bounds];
    wv.backgroundColor  = [UIColor whiteColor];
    [self.view addSubview:wv];
    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:_wangzhi]]];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
